package com.controller;

import com.service.UserService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by Administrator on 2020/3/17 0017.
 */
@Api(tags = "页面跳转")
@Controller
public class JumpController {
    @Autowired
    private UserService userService;

    @GetMapping("/admin")
    public String goBackHome(){
        return "backhome";
    }

    @GetMapping("/backfirstpage")
    public String goBackFirstPage(){
        return "back/backfirstpage";
    }

    @GetMapping("/backlogin")
    public String goBackLogin(){
        return "back/user/login";
    }
}
